import request from "@/utils/request";

/**
 * 列表
 * @param {} options
 */
export let loadClearList = (data) => {
  let url = "/CommonFunction/loadList";
  var config = {
    method: "post",
    url,
    data,
  };
  return request(config);
};

// 查询参数详细
export function getConfig(configId) {
  return request({
    url: "/system/config/" + configId,
    method: "get",
  });
}
/**
 *  下拉选项
 * @param {} options
 */
export let getSelectList = (data) => {
  let url = "/CommonFunction/SelectListPs";
  var config = {
    method: "post",
    headers: {
      "Content-Type": "application/x-www-form-urlencoded",
    },
    url,
    data,
  };
  return request(config);
};
